﻿<controls:ChildWindow
  x:Class="KharaPos.LoginUI.LoginRegistrationWindow"
  x:Name="childWindow" 
  xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
  xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" 
  xmlns:controls="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls"
  xmlns:dataform="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls.Data.DataForm.Toolkit"
  xmlns:activity="clr-namespace:System.Windows.Controls;assembly=ActivityControl"
  xmlns:app="clr-namespace:KharaPos"
  xmlns:local="clr-namespace:KharaPos.LoginUI"  
  Width="400" 
  Title="{Binding Path=ApplicationStrings.LoginWindowTitle, Source={StaticResource ResourceWrapper}}"
  Style="{StaticResource LogRegWindowStyle}"
  Closing="LoginWindow_Closing">

  <Grid x:Name="LayoutRoot" >
     <Grid.RowDefinitions>
       <RowDefinition Height="Auto"/>
     </Grid.RowDefinitions>

     <local:LoginForm x:Name="loginForm" Grid.Row="0"/>
     <local:RegistrationForm x:Name="registrationForm" Grid.Row="0" />
  </Grid>

</controls:ChildWindow>